<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS定位轮播图</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        li {
            list-style: none;
        }

        .tb-promo {
            position: relative;
            width: 520px;
            height: 280px;
            margin: 100px auto;
            background-color: pink;


        }

        .tb-promo img {
            width: 100%;
            height: 100%;
        }

        .prev,
        .next {
            position: absolute;
            width: 20px;
            height: 30px;
            top: 50%;
            margin-top: -15px;
            background-color: rgba(0, 0, 0, .3);
            color: #fff;
            text-align: center;
            line-height: 30px;
            text-decoration: none;
        }

        /* .prev:hover {
            width: 22px;
            height: 33px;

        }

        .next:hover {
            width: 22px;
            height: 33px;

        } */

        .prev:hover,
        .next:hover {
            width: 22px;
            height: 33px;

        }

        .tb-promo .prev {
            left: 0px;
            border-radius: 0 15px 15px 0;
        }

        .tb-promo .next {
            right: 0px;
            border-radius: 15px 0 0 15px;
        }

        .tb-promo .promo-nav {
            position: absolute;
            bottom: 15px;
            left: 50%;
            margin-left: -35px;
            width: 70px;
            height: 13px;

            background-color: rgba(255, 255, 255, .3);
            border-radius: 7px;
        }

        .promo-nav li {
            float: left;
            border-radius: 50%;
            width: 8px;
            height: 8px;
            background-color: #fff;
            margin: 3px;
        }

        .promo-nav li:hover {
            width: 10px;
            height: 10px;
            margin: 1px;
        }


        .promo-nav .selected {
            background-color: #ff5000;
        }

        .jl {
            width: 110px;
            height: 110px;
            margin: 300px auto;
            background: url(images/abcd.jpg) no-repeat -250px -410px;
        }

        .jingdong {
            position: relative;
            width: 300px;
            height: 300px;
            margin: 500px auto;
            background-color: pink;
        }

        .sanjiao {
            position: absolute;
            left: 120px;
            top: -0px;
            width: 0;
            height: 0;
            border: 30px solid transparent;
            border-bottom-color: red;

        }

        .bor {
            margin: 100px auto;
            width: 500px;
            height: 15px;
            border: 1px solid pink;
            border-radius: 7px;
            transition: all .5s;
        }

        .bor-son {
            width: 30%;
            height: 100%;
            border-radius: 5px;
            background-color: pink;
            transition: all .5s;

        }

        .bor:hover .bor-son {
            width: 100%;
            background-color: red;
        }

        .bor:hover {
            border: 1px solid red;
        }
    </style>
</head>

<body>
    <!-- 进度条过渡效果 -->
    <div class="bor">
        <div class="bor-son">

        </div>
    </div>


    <div class="tb-promo">
        <img src="images/tb.jpg" alt="图片无法显示">
        <a href="#" class="prev">&lt;</a>
        <a href="#" class="next">&gt;</a>
        <ul class="promo-nav">
            <li class="selected"></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
    <div class="jl"></div>

    <div class="jingdong">
        <div class="sanjiao"></div>
    </div>


</body>

</html>